<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>如何购买</title>

<link href="css/base.css" rel="stylesheet" type="text/css" />
<link href="css/buy.css" rel="stylesheet" type="text/css" />

</head>


<body>
<div class="container">
<?php include 'yeshou.php';  ?>

<?php
require("LJshujuku.php");
$sql="SELECT * FROM  `st_buy` LIMIT 0 , 3"; 
$result=mysqli_query($conn,$sql);  
$adrows = mysqli_fetch_all($result,MYSQLI_BOTH); 
?>
<div class="pro">
	<!--左边内容-->
        
    <div class= "pro_top"><p>如何购买/Buy</p></div>
    <div class= "pro_left">
    	<ul>
        <?php foreach ($typerows as $row) { ?>
            <a href="#"><li class="xuan"><?php echo $row['buy_lei']?></li></a>
        <?php } ?>
        </ul>
    </div>
    <!--右边内容-->
    <?php foreach ($buyrows as $row) { ?>
    <div class= "pro_right">
    	<ul>
            <li class="biaoti"><?php echo $row['biaoti']?></li>
            <?php echo $row['neirong']?>
        </ul>  
        <!--下面空白-->
        <div class="jvli"></div>     
    </div>
    <?php } ?>
</div>
<?php include 'yewei.php'; ?>
</body>
</html>
